﻿namespace Cos.Module.Blog.NHibernate.Test
{
    using Cos.Core.NHibernate;
    using Cos.Core.NHibernate.Tests;

    using NUnit.Framework;

    [TestFixture]
    public class BlogTagDataModelFixture : BlogFixtureBase
    {
        [Test]
        public void CanMapBlogTagDataModel()
        {
            new PersistenceSpecification<BlogTagDataModel>(Session)
                .CheckProperty(x => x.Name, "name test")
                .CheckProperty(x => x.CultureCode, "Fr-CA")
                .VerifyTheMappings();
        }
    }
}
